package chen.bupt.slick

/**
 * Created by chenlingpeng on 2015/1/6.
 */


object CodeGen extends App {
  val slickDriver = "scala.slick.driver.MySQLDriver"
  val jdbcDriver = "com.mysql.jdbc.Driver"
  val url = "jdbc:mysql://10.1.1.37:3306/rhea?characterEncoding=utf-8"
  val outputFolder = "src/main/scala/"
  val pkg = "chen.bupt.slick.beans"
  val user = "blast"
  val password = "blastrhea"
  scala.slick.codegen.SourceCodeGenerator.main(Array(slickDriver, jdbcDriver, url, outputFolder,pkg,user,password))
}